[INFO] fetching crate ltr303 0.1.4...
[INFO] testing ltr303-0.1.4 against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1
[INFO] extracting crate ltr303 0.1.4 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate ltr303 0.1.4
[INFO] finished tweaking crates.io crate ltr303 0.1.4
[INFO] tweaked toml for crates.io crate ltr303 0.1.4 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate ltr303 0.1.4 on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 64 packages to latest compatible versions
[INFO] [stderr]       Adding embedded-hal-mock v0.10.0 (available: v0.11.1)
[INFO] [stderr]       Adding num-derive v0.3.3 (available: v0.4.2)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ceb3248ed7abb481811e2beb7d660f13b7f5bd5e288553b5307207a33e68d5da
[INFO] running `Command { std: "docker" "start" "-a" "ceb3248ed7abb481811e2beb7d660f13b7f5bd5e288553b5307207a33e68d5da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ceb3248ed7abb481811e2beb7d660f13b7f5bd5e288553b5307207a33e68d5da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ceb3248ed7abb481811e2beb7d660f13b7f5bd5e288553b5307207a33e68d5da", kill_on_drop: false }`
[INFO] [stdout] ceb3248ed7abb481811e2beb7d660f13b7f5bd5e288553b5307207a33e68d5da
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8dac09ee0ba5454979e90581d2e02f090d9c4ff30447e531b79bf91c2d9b3fde
[INFO] running `Command { std: "docker" "start" "-a" "8dac09ee0ba5454979e90581d2e02f090d9c4ff30447e531b79bf91c2d9b3fde", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-complex v0.4.6
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling num v0.4.3
[INFO] [stderr]    Compiling ltr303 v0.1.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::create_register`
[INFO] [stdout]  --> src/registers.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::create_register;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/fields.rs:1:41
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]   |                                         ^------------
[INFO] [stdout]   |                                         |
[INFO] [stdout]   |                                         `FromPrimitive` is not local
[INFO] [stdout]   |                                         move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Mode`
[INFO] [stdout] 2 | pub enum Mode {
[INFO] [stdout]   |          ---- `Mode` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/fields.rs:1:56
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]   |                                                        ^----------
[INFO] [stdout]   |                                                        |
[INFO] [stdout]   |                                                        `ToPrimitive` is not local
[INFO] [stdout]   |                                                        move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Mode`
[INFO] [stdout] 2 | pub enum Mode {
[INFO] [stdout]   |          ---- `Mode` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/fields.rs:7:41
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]   |                                         ^------------
[INFO] [stdout]   |                                         |
[INFO] [stdout]   |                                         `FromPrimitive` is not local
[INFO] [stdout]   |                                         move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Gain`
[INFO] [stdout] 8 | pub enum Gain {
[INFO] [stdout]   |          ---- `Gain` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/fields.rs:7:56
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]   |                                                        ^----------
[INFO] [stdout]   |                                                        |
[INFO] [stdout]   |                                                        `ToPrimitive` is not local
[INFO] [stdout]   |                                                        move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Gain`
[INFO] [stdout] 8 | pub enum Gain {
[INFO] [stdout]   |          ---- `Gain` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:30:41
[INFO] [stdout]    |
[INFO] [stdout] 30 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                         ^------------
[INFO] [stdout]    |                                         |
[INFO] [stdout]    |                                         `FromPrimitive` is not local
[INFO] [stdout]    |                                         move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MeasurementRate`
[INFO] [stdout] 31 | pub enum MeasurementRate {
[INFO] [stdout]    |          --------------- `MeasurementRate` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:30:56
[INFO] [stdout]    |
[INFO] [stdout] 30 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                                        ^----------
[INFO] [stdout]    |                                                        |
[INFO] [stdout]    |                                                        `ToPrimitive` is not local
[INFO] [stdout]    |                                                        move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MeasurementRate`
[INFO] [stdout] 31 | pub enum MeasurementRate {
[INFO] [stdout]    |          --------------- `MeasurementRate` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:40:41
[INFO] [stdout]    |
[INFO] [stdout] 40 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                         ^------------
[INFO] [stdout]    |                                         |
[INFO] [stdout]    |                                         `FromPrimitive` is not local
[INFO] [stdout]    |                                         move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_IntegrationTime`
[INFO] [stdout] 41 | pub enum IntegrationTime {
[INFO] [stdout]    |          --------------- `IntegrationTime` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:40:56
[INFO] [stdout]    |
[INFO] [stdout] 40 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                                        ^----------
[INFO] [stdout]    |                                                        |
[INFO] [stdout]    |                                                        `ToPrimitive` is not local
[INFO] [stdout]    |                                                        move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_IntegrationTime`
[INFO] [stdout] 41 | pub enum IntegrationTime {
[INFO] [stdout]    |          --------------- `IntegrationTime` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:68:41
[INFO] [stdout]    |
[INFO] [stdout] 68 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                         ^------------
[INFO] [stdout]    |                                         |
[INFO] [stdout]    |                                         `FromPrimitive` is not local
[INFO] [stdout]    |                                         move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ISRMode`
[INFO] [stdout] 69 | pub enum ISRMode {
[INFO] [stdout]    |          ------- `ISRMode` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:68:56
[INFO] [stdout]    |
[INFO] [stdout] 68 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                                        ^----------
[INFO] [stdout]    |                                                        |
[INFO] [stdout]    |                                                        `ToPrimitive` is not local
[INFO] [stdout]    |                                                        move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ISRMode`
[INFO] [stdout] 69 | pub enum ISRMode {
[INFO] [stdout]    |          ------- `ISRMode` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:74:41
[INFO] [stdout]    |
[INFO] [stdout] 74 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                         ^------------
[INFO] [stdout]    |                                         |
[INFO] [stdout]    |                                         `FromPrimitive` is not local
[INFO] [stdout]    |                                         move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ISRPol`
[INFO] [stdout] 75 | pub enum ISRPol {
[INFO] [stdout]    |          ------ `ISRPol` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:74:56
[INFO] [stdout]    |
[INFO] [stdout] 74 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                                        ^----------
[INFO] [stdout]    |                                                        |
[INFO] [stdout]    |                                                        `ToPrimitive` is not local
[INFO] [stdout]    |                                                        move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ISRPol`
[INFO] [stdout] 75 | pub enum ISRPol {
[INFO] [stdout]    |          ------ `ISRPol` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:80:41
[INFO] [stdout]    |
[INFO] [stdout] 80 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                         ^------------
[INFO] [stdout]    |                                         |
[INFO] [stdout]    |                                         `FromPrimitive` is not local
[INFO] [stdout]    |                                         move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_DataValidity`
[INFO] [stdout] 81 | pub enum DataValidity {
[INFO] [stdout]    |          ------------ `DataValidity` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:80:56
[INFO] [stdout]    |
[INFO] [stdout] 80 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                                        ^----------
[INFO] [stdout]    |                                                        |
[INFO] [stdout]    |                                                        `ToPrimitive` is not local
[INFO] [stdout]    |                                                        move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_DataValidity`
[INFO] [stdout] 81 | pub enum DataValidity {
[INFO] [stdout]    |          ------------ `DataValidity` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:86:41
[INFO] [stdout]    |
[INFO] [stdout] 86 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                         ^------------
[INFO] [stdout]    |                                         |
[INFO] [stdout]    |                                         `FromPrimitive` is not local
[INFO] [stdout]    |                                         move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_DataStatus`
[INFO] [stdout] 87 | pub enum DataStatus {
[INFO] [stdout]    |          ---------- `DataStatus` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:86:56
[INFO] [stdout]    |
[INFO] [stdout] 86 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                                        ^----------
[INFO] [stdout]    |                                                        |
[INFO] [stdout]    |                                                        `ToPrimitive` is not local
[INFO] [stdout]    |                                                        move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_DataStatus`
[INFO] [stdout] 87 | pub enum DataStatus {
[INFO] [stdout]    |          ---------- `DataStatus` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:92:28
[INFO] [stdout]    |
[INFO] [stdout] 92 | #[derive(Debug, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                            ^------------
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            `FromPrimitive` is not local
[INFO] [stdout]    |                            move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_IntStatus`
[INFO] [stdout] 93 | pub enum IntStatus {
[INFO] [stdout]    |          --------- `IntStatus` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:92:43
[INFO] [stdout]    |
[INFO] [stdout] 92 | #[derive(Debug, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                           ^----------
[INFO] [stdout]    |                                           |
[INFO] [stdout]    |                                           `ToPrimitive` is not local
[INFO] [stdout]    |                                           move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_IntStatus`
[INFO] [stdout] 93 | pub enum IntStatus {
[INFO] [stdout]    |          --------- `IntStatus` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:98:28
[INFO] [stdout]    |
[INFO] [stdout] 98 | #[derive(Debug, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                            ^------------
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            `FromPrimitive` is not local
[INFO] [stdout]    |                            move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ResetStatus`
[INFO] [stdout] 99 | pub enum ResetStatus {
[INFO] [stdout]    |          ----------- `ResetStatus` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:98:43
[INFO] [stdout]    |
[INFO] [stdout] 98 | #[derive(Debug, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                           ^----------
[INFO] [stdout]    |                                           |
[INFO] [stdout]    |                                           `ToPrimitive` is not local
[INFO] [stdout]    |                                           move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ResetStatus`
[INFO] [stdout] 99 | pub enum ResetStatus {
[INFO] [stdout]    |          ----------- `ResetStatus` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.22s
[INFO] running `Command { std: "docker" "inspect" "8dac09ee0ba5454979e90581d2e02f090d9c4ff30447e531b79bf91c2d9b3fde", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8dac09ee0ba5454979e90581d2e02f090d9c4ff30447e531b79bf91c2d9b3fde", kill_on_drop: false }`
[INFO] [stdout] 8dac09ee0ba5454979e90581d2e02f090d9c4ff30447e531b79bf91c2d9b3fde
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 484ead35b56f35ea2f69e0f45403ed9062a4a7ec82ab30d283c2640026723947
[INFO] running `Command { std: "docker" "start" "-a" "484ead35b56f35ea2f69e0f45403ed9062a4a7ec82ab30d283c2640026723947", kill_on_drop: false }`
[INFO] [stderr]    Compiling memoffset v0.7.1
[INFO] [stderr]    Compiling embedded-hal-nb v1.0.0
[INFO] [stderr]    Compiling nix v0.27.1
[INFO] [stdout] warning: unused import: `crate::create_register`
[INFO] [stdout]  --> src/registers.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::create_register;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling nix v0.23.2
[INFO] [stderr]    Compiling unescaper v0.1.8
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/fields.rs:1:41
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]   |                                         ^------------
[INFO] [stdout]   |                                         |
[INFO] [stdout]   |                                         `FromPrimitive` is not local
[INFO] [stdout]   |                                         move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Mode`
[INFO] [stdout] 2 | pub enum Mode {
[INFO] [stdout]   |          ---- `Mode` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/fields.rs:1:56
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]   |                                                        ^----------
[INFO] [stdout]   |                                                        |
[INFO] [stdout]   |                                                        `ToPrimitive` is not local
[INFO] [stdout]   |                                                        move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Mode`
[INFO] [stdout] 2 | pub enum Mode {
[INFO] [stdout]   |          ---- `Mode` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/fields.rs:7:41
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]   |                                         ^------------
[INFO] [stdout]   |                                         |
[INFO] [stdout]   |                                         `FromPrimitive` is not local
[INFO] [stdout]   |                                         move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Gain`
[INFO] [stdout] 8 | pub enum Gain {
[INFO] [stdout]   |          ---- `Gain` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/fields.rs:7:56
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]   |                                                        ^----------
[INFO] [stdout]   |                                                        |
[INFO] [stdout]   |                                                        `ToPrimitive` is not local
[INFO] [stdout]   |                                                        move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Gain`
[INFO] [stdout] 8 | pub enum Gain {
[INFO] [stdout]   |          ---- `Gain` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:30:41
[INFO] [stdout]    |
[INFO] [stdout] 30 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                         ^------------
[INFO] [stdout]    |                                         |
[INFO] [stdout]    |                                         `FromPrimitive` is not local
[INFO] [stdout]    |                                         move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MeasurementRate`
[INFO] [stdout] 31 | pub enum MeasurementRate {
[INFO] [stdout]    |          --------------- `MeasurementRate` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:30:56
[INFO] [stdout]    |
[INFO] [stdout] 30 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                                        ^----------
[INFO] [stdout]    |                                                        |
[INFO] [stdout]    |                                                        `ToPrimitive` is not local
[INFO] [stdout]    |                                                        move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MeasurementRate`
[INFO] [stdout] 31 | pub enum MeasurementRate {
[INFO] [stdout]    |          --------------- `MeasurementRate` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:40:41
[INFO] [stdout]    |
[INFO] [stdout] 40 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                         ^------------
[INFO] [stdout]    |                                         |
[INFO] [stdout]    |                                         `FromPrimitive` is not local
[INFO] [stdout]    |                                         move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_IntegrationTime`
[INFO] [stdout] 41 | pub enum IntegrationTime {
[INFO] [stdout]    |          --------------- `IntegrationTime` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:40:56
[INFO] [stdout]    |
[INFO] [stdout] 40 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                                        ^----------
[INFO] [stdout]    |                                                        |
[INFO] [stdout]    |                                                        `ToPrimitive` is not local
[INFO] [stdout]    |                                                        move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_IntegrationTime`
[INFO] [stdout] 41 | pub enum IntegrationTime {
[INFO] [stdout]    |          --------------- `IntegrationTime` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:68:41
[INFO] [stdout]    |
[INFO] [stdout] 68 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                         ^------------
[INFO] [stdout]    |                                         |
[INFO] [stdout]    |                                         `FromPrimitive` is not local
[INFO] [stdout]    |                                         move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ISRMode`
[INFO] [stdout] 69 | pub enum ISRMode {
[INFO] [stdout]    |          ------- `ISRMode` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:68:56
[INFO] [stdout]    |
[INFO] [stdout] 68 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                                        ^----------
[INFO] [stdout]    |                                                        |
[INFO] [stdout]    |                                                        `ToPrimitive` is not local
[INFO] [stdout]    |                                                        move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ISRMode`
[INFO] [stdout] 69 | pub enum ISRMode {
[INFO] [stdout]    |          ------- `ISRMode` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:74:41
[INFO] [stdout]    |
[INFO] [stdout] 74 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                         ^------------
[INFO] [stdout]    |                                         |
[INFO] [stdout]    |                                         `FromPrimitive` is not local
[INFO] [stdout]    |                                         move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ISRPol`
[INFO] [stdout] 75 | pub enum ISRPol {
[INFO] [stdout]    |          ------ `ISRPol` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:74:56
[INFO] [stdout]    |
[INFO] [stdout] 74 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                                        ^----------
[INFO] [stdout]    |                                                        |
[INFO] [stdout]    |                                                        `ToPrimitive` is not local
[INFO] [stdout]    |                                                        move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ISRPol`
[INFO] [stdout] 75 | pub enum ISRPol {
[INFO] [stdout]    |          ------ `ISRPol` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:80:41
[INFO] [stdout]    |
[INFO] [stdout] 80 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                         ^------------
[INFO] [stdout]    |                                         |
[INFO] [stdout]    |                                         `FromPrimitive` is not local
[INFO] [stdout]    |                                         move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_DataValidity`
[INFO] [stdout] 81 | pub enum DataValidity {
[INFO] [stdout]    |          ------------ `DataValidity` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:80:56
[INFO] [stdout]    |
[INFO] [stdout] 80 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                                        ^----------
[INFO] [stdout]    |                                                        |
[INFO] [stdout]    |                                                        `ToPrimitive` is not local
[INFO] [stdout]    |                                                        move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_DataValidity`
[INFO] [stdout] 81 | pub enum DataValidity {
[INFO] [stdout]    |          ------------ `DataValidity` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:86:41
[INFO] [stdout]    |
[INFO] [stdout] 86 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                         ^------------
[INFO] [stdout]    |                                         |
[INFO] [stdout]    |                                         `FromPrimitive` is not local
[INFO] [stdout]    |                                         move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_DataStatus`
[INFO] [stdout] 87 | pub enum DataStatus {
[INFO] [stdout]    |          ---------- `DataStatus` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:86:56
[INFO] [stdout]    |
[INFO] [stdout] 86 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                                        ^----------
[INFO] [stdout]    |                                                        |
[INFO] [stdout]    |                                                        `ToPrimitive` is not local
[INFO] [stdout]    |                                                        move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_DataStatus`
[INFO] [stdout] 87 | pub enum DataStatus {
[INFO] [stdout]    |          ---------- `DataStatus` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:92:28
[INFO] [stdout]    |
[INFO] [stdout] 92 | #[derive(Debug, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                            ^------------
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            `FromPrimitive` is not local
[INFO] [stdout]    |                            move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_IntStatus`
[INFO] [stdout] 93 | pub enum IntStatus {
[INFO] [stdout]    |          --------- `IntStatus` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:92:43
[INFO] [stdout]    |
[INFO] [stdout] 92 | #[derive(Debug, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                           ^----------
[INFO] [stdout]    |                                           |
[INFO] [stdout]    |                                           `ToPrimitive` is not local
[INFO] [stdout]    |                                           move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_IntStatus`
[INFO] [stdout] 93 | pub enum IntStatus {
[INFO] [stdout]    |          --------- `IntStatus` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:98:28
[INFO] [stdout]    |
[INFO] [stdout] 98 | #[derive(Debug, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                            ^------------
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            `FromPrimitive` is not local
[INFO] [stdout]    |                            move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ResetStatus`
[INFO] [stdout] 99 | pub enum ResetStatus {
[INFO] [stdout]    |          ----------- `ResetStatus` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:98:43
[INFO] [stdout]    |
[INFO] [stdout] 98 | #[derive(Debug, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                           ^----------
[INFO] [stdout]    |                                           |
[INFO] [stdout]    |                                           `ToPrimitive` is not local
[INFO] [stdout]    |                                           move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ResetStatus`
[INFO] [stdout] 99 | pub enum ResetStatus {
[INFO] [stdout]    |          ----------- `ResetStatus` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling embedded-hal-mock v0.10.0
[INFO] [stderr]    Compiling nix v0.26.4
[INFO] [stderr]    Compiling gpio-cdev v0.6.0
[INFO] [stderr]    Compiling sysfs_gpio v0.6.2
[INFO] [stderr]    Compiling serialport v4.9.0
[INFO] [stderr]    Compiling spidev v0.6.1
[INFO] [stderr]    Compiling i2cdev v0.6.2
[INFO] [stderr]    Compiling linux-embedded-hal v0.4.1
[INFO] [stderr]    Compiling ltr303 v0.1.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::create_register`
[INFO] [stdout]  --> src/registers.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::create_register;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/fields.rs:1:41
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]   |                                         ^------------
[INFO] [stdout]   |                                         |
[INFO] [stdout]   |                                         `FromPrimitive` is not local
[INFO] [stdout]   |                                         move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Mode`
[INFO] [stdout] 2 | pub enum Mode {
[INFO] [stdout]   |          ---- `Mode` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/fields.rs:1:56
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]   |                                                        ^----------
[INFO] [stdout]   |                                                        |
[INFO] [stdout]   |                                                        `ToPrimitive` is not local
[INFO] [stdout]   |                                                        move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Mode`
[INFO] [stdout] 2 | pub enum Mode {
[INFO] [stdout]   |          ---- `Mode` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/fields.rs:7:41
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]   |                                         ^------------
[INFO] [stdout]   |                                         |
[INFO] [stdout]   |                                         `FromPrimitive` is not local
[INFO] [stdout]   |                                         move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Gain`
[INFO] [stdout] 8 | pub enum Gain {
[INFO] [stdout]   |          ---- `Gain` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/fields.rs:7:56
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]   |                                                        ^----------
[INFO] [stdout]   |                                                        |
[INFO] [stdout]   |                                                        `ToPrimitive` is not local
[INFO] [stdout]   |                                                        move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Gain`
[INFO] [stdout] 8 | pub enum Gain {
[INFO] [stdout]   |          ---- `Gain` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:30:41
[INFO] [stdout]    |
[INFO] [stdout] 30 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                         ^------------
[INFO] [stdout]    |                                         |
[INFO] [stdout]    |                                         `FromPrimitive` is not local
[INFO] [stdout]    |                                         move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MeasurementRate`
[INFO] [stdout] 31 | pub enum MeasurementRate {
[INFO] [stdout]    |          --------------- `MeasurementRate` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:30:56
[INFO] [stdout]    |
[INFO] [stdout] 30 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                                        ^----------
[INFO] [stdout]    |                                                        |
[INFO] [stdout]    |                                                        `ToPrimitive` is not local
[INFO] [stdout]    |                                                        move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MeasurementRate`
[INFO] [stdout] 31 | pub enum MeasurementRate {
[INFO] [stdout]    |          --------------- `MeasurementRate` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:40:41
[INFO] [stdout]    |
[INFO] [stdout] 40 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                         ^------------
[INFO] [stdout]    |                                         |
[INFO] [stdout]    |                                         `FromPrimitive` is not local
[INFO] [stdout]    |                                         move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_IntegrationTime`
[INFO] [stdout] 41 | pub enum IntegrationTime {
[INFO] [stdout]    |          --------------- `IntegrationTime` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:40:56
[INFO] [stdout]    |
[INFO] [stdout] 40 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                                        ^----------
[INFO] [stdout]    |                                                        |
[INFO] [stdout]    |                                                        `ToPrimitive` is not local
[INFO] [stdout]    |                                                        move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_IntegrationTime`
[INFO] [stdout] 41 | pub enum IntegrationTime {
[INFO] [stdout]    |          --------------- `IntegrationTime` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:68:41
[INFO] [stdout]    |
[INFO] [stdout] 68 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                         ^------------
[INFO] [stdout]    |                                         |
[INFO] [stdout]    |                                         `FromPrimitive` is not local
[INFO] [stdout]    |                                         move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ISRMode`
[INFO] [stdout] 69 | pub enum ISRMode {
[INFO] [stdout]    |          ------- `ISRMode` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:68:56
[INFO] [stdout]    |
[INFO] [stdout] 68 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                                        ^----------
[INFO] [stdout]    |                                                        |
[INFO] [stdout]    |                                                        `ToPrimitive` is not local
[INFO] [stdout]    |                                                        move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ISRMode`
[INFO] [stdout] 69 | pub enum ISRMode {
[INFO] [stdout]    |          ------- `ISRMode` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:74:41
[INFO] [stdout]    |
[INFO] [stdout] 74 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                         ^------------
[INFO] [stdout]    |                                         |
[INFO] [stdout]    |                                         `FromPrimitive` is not local
[INFO] [stdout]    |                                         move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ISRPol`
[INFO] [stdout] 75 | pub enum ISRPol {
[INFO] [stdout]    |          ------ `ISRPol` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:74:56
[INFO] [stdout]    |
[INFO] [stdout] 74 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                                        ^----------
[INFO] [stdout]    |                                                        |
[INFO] [stdout]    |                                                        `ToPrimitive` is not local
[INFO] [stdout]    |                                                        move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ISRPol`
[INFO] [stdout] 75 | pub enum ISRPol {
[INFO] [stdout]    |          ------ `ISRPol` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:80:41
[INFO] [stdout]    |
[INFO] [stdout] 80 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                         ^------------
[INFO] [stdout]    |                                         |
[INFO] [stdout]    |                                         `FromPrimitive` is not local
[INFO] [stdout]    |                                         move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_DataValidity`
[INFO] [stdout] 81 | pub enum DataValidity {
[INFO] [stdout]    |          ------------ `DataValidity` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:80:56
[INFO] [stdout]    |
[INFO] [stdout] 80 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                                        ^----------
[INFO] [stdout]    |                                                        |
[INFO] [stdout]    |                                                        `ToPrimitive` is not local
[INFO] [stdout]    |                                                        move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_DataValidity`
[INFO] [stdout] 81 | pub enum DataValidity {
[INFO] [stdout]    |          ------------ `DataValidity` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:86:41
[INFO] [stdout]    |
[INFO] [stdout] 86 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                         ^------------
[INFO] [stdout]    |                                         |
[INFO] [stdout]    |                                         `FromPrimitive` is not local
[INFO] [stdout]    |                                         move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_DataStatus`
[INFO] [stdout] 87 | pub enum DataStatus {
[INFO] [stdout]    |          ---------- `DataStatus` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:86:56
[INFO] [stdout]    |
[INFO] [stdout] 86 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                                        ^----------
[INFO] [stdout]    |                                                        |
[INFO] [stdout]    |                                                        `ToPrimitive` is not local
[INFO] [stdout]    |                                                        move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_DataStatus`
[INFO] [stdout] 87 | pub enum DataStatus {
[INFO] [stdout]    |          ---------- `DataStatus` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:92:28
[INFO] [stdout]    |
[INFO] [stdout] 92 | #[derive(Debug, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                            ^------------
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            `FromPrimitive` is not local
[INFO] [stdout]    |                            move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_IntStatus`
[INFO] [stdout] 93 | pub enum IntStatus {
[INFO] [stdout]    |          --------- `IntStatus` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:92:43
[INFO] [stdout]    |
[INFO] [stdout] 92 | #[derive(Debug, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                           ^----------
[INFO] [stdout]    |                                           |
[INFO] [stdout]    |                                           `ToPrimitive` is not local
[INFO] [stdout]    |                                           move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_IntStatus`
[INFO] [stdout] 93 | pub enum IntStatus {
[INFO] [stdout]    |          --------- `IntStatus` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:98:28
[INFO] [stdout]    |
[INFO] [stdout] 98 | #[derive(Debug, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                            ^------------
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            `FromPrimitive` is not local
[INFO] [stdout]    |                            move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ResetStatus`
[INFO] [stdout] 99 | pub enum ResetStatus {
[INFO] [stdout]    |          ----------- `ResetStatus` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/fields.rs:98:43
[INFO] [stdout]    |
[INFO] [stdout] 98 | #[derive(Debug, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                           ^----------
[INFO] [stdout]    |                                           |
[INFO] [stdout]    |                                           `ToPrimitive` is not local
[INFO] [stdout]    |                                           move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ResetStatus`
[INFO] [stdout] 99 | pub enum ResetStatus {
[INFO] [stdout]    |          ----------- `ResetStatus` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 8.16s
[INFO] running `Command { std: "docker" "inspect" "484ead35b56f35ea2f69e0f45403ed9062a4a7ec82ab30d283c2640026723947", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "484ead35b56f35ea2f69e0f45403ed9062a4a7ec82ab30d283c2640026723947", kill_on_drop: false }`
[INFO] [stdout] 484ead35b56f35ea2f69e0f45403ed9062a4a7ec82ab30d283c2640026723947
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] a0ab60da692fb64b69a45904ae484b2997e8db0f6d3113adfc0e73f69e195214
[INFO] running `Command { std: "docker" "start" "-a" "a0ab60da692fb64b69a45904ae484b2997e8db0f6d3113adfc0e73f69e195214", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `crate::create_register`
[INFO] [stderr]  --> src/registers.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use crate::create_register;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/fields.rs:1:41
[INFO] [stderr]   |
[INFO] [stderr] 1 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stderr]   |                                         ^------------
[INFO] [stderr]   |                                         |
[INFO] [stderr]   |                                         `FromPrimitive` is not local
[INFO] [stderr]   |                                         move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Mode`
[INFO] [stderr] 2 | pub enum Mode {
[INFO] [stderr]   |          ---- `Mode` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stderr]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/fields.rs:1:56
[INFO] [stderr]   |
[INFO] [stderr] 1 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stderr]   |                                                        ^----------
[INFO] [stderr]   |                                                        |
[INFO] [stderr]   |                                                        `ToPrimitive` is not local
[INFO] [stderr]   |                                                        move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Mode`
[INFO] [stderr] 2 | pub enum Mode {
[INFO] [stderr]   |          ---- `Mode` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/fields.rs:7:41
[INFO] [stderr]   |
[INFO] [stderr] 7 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stderr]   |                                         ^------------
[INFO] [stderr]   |                                         |
[INFO] [stderr]   |                                         `FromPrimitive` is not local
[INFO] [stderr]   |                                         move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Gain`
[INFO] [stderr] 8 | pub enum Gain {
[INFO] [stderr]   |          ---- `Gain` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/fields.rs:7:56
[INFO] [stderr]   |
[INFO] [stderr] 7 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stderr]   |                                                        ^----------
[INFO] [stderr]   |                                                        |
[INFO] [stderr]   |                                                        `ToPrimitive` is not local
[INFO] [stderr]   |                                                        move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Gain`
[INFO] [stderr] 8 | pub enum Gain {
[INFO] [stderr]   |          ---- `Gain` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/fields.rs:30:41
[INFO] [stderr]    |
[INFO] [stderr] 30 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stderr]    |                                         ^------------
[INFO] [stderr]    |                                         |
[INFO] [stderr]    |                                         `FromPrimitive` is not local
[INFO] [stderr]    |                                         move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MeasurementRate`
[INFO] [stderr] 31 | pub enum MeasurementRate {
[INFO] [stderr]    |          --------------- `MeasurementRate` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/fields.rs:30:56
[INFO] [stderr]    |
[INFO] [stderr] 30 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stderr]    |                                                        ^----------
[INFO] [stderr]    |                                                        |
[INFO] [stderr]    |                                                        `ToPrimitive` is not local
[INFO] [stderr]    |                                                        move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MeasurementRate`
[INFO] [stderr] 31 | pub enum MeasurementRate {
[INFO] [stderr]    |          --------------- `MeasurementRate` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/fields.rs:40:41
[INFO] [stderr]    |
[INFO] [stderr] 40 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stderr]    |                                         ^------------
[INFO] [stderr]    |                                         |
[INFO] [stderr]    |                                         `FromPrimitive` is not local
[INFO] [stderr]    |                                         move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_IntegrationTime`
[INFO] [stderr] 41 | pub enum IntegrationTime {
[INFO] [stderr]    |          --------------- `IntegrationTime` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/fields.rs:40:56
[INFO] [stderr]    |
[INFO] [stderr] 40 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stderr]    |                                                        ^----------
[INFO] [stderr]    |                                                        |
[INFO] [stderr]    |                                                        `ToPrimitive` is not local
[INFO] [stderr]    |                                                        move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_IntegrationTime`
[INFO] [stderr] 41 | pub enum IntegrationTime {
[INFO] [stderr]    |          --------------- `IntegrationTime` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/fields.rs:68:41
[INFO] [stderr]    |
[INFO] [stderr] 68 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stderr]    |                                         ^------------
[INFO] [stderr]    |                                         |
[INFO] [stderr]    |                                         `FromPrimitive` is not local
[INFO] [stderr]    |                                         move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ISRMode`
[INFO] [stderr] 69 | pub enum ISRMode {
[INFO] [stderr]    |          ------- `ISRMode` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/fields.rs:68:56
[INFO] [stderr]    |
[INFO] [stderr] 68 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stderr]    |                                                        ^----------
[INFO] [stderr]    |                                                        |
[INFO] [stderr]    |                                                        `ToPrimitive` is not local
[INFO] [stderr]    |                                                        move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ISRMode`
[INFO] [stderr] 69 | pub enum ISRMode {
[INFO] [stderr]    |          ------- `ISRMode` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/fields.rs:74:41
[INFO] [stderr]    |
[INFO] [stderr] 74 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stderr]    |                                         ^------------
[INFO] [stderr]    |                                         |
[INFO] [stderr]    |                                         `FromPrimitive` is not local
[INFO] [stderr]    |                                         move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ISRPol`
[INFO] [stderr] 75 | pub enum ISRPol {
[INFO] [stderr]    |          ------ `ISRPol` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/fields.rs:74:56
[INFO] [stderr]    |
[INFO] [stderr] 74 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stderr]    |                                                        ^----------
[INFO] [stderr]    |                                                        |
[INFO] [stderr]    |                                                        `ToPrimitive` is not local
[INFO] [stderr]    |                                                        move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ISRPol`
[INFO] [stderr] 75 | pub enum ISRPol {
[INFO] [stderr]    |          ------ `ISRPol` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/fields.rs:80:41
[INFO] [stderr]    |
[INFO] [stderr] 80 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stderr]    |                                         ^------------
[INFO] [stderr]    |                                         |
[INFO] [stderr]    |                                         `FromPrimitive` is not local
[INFO] [stderr]    |                                         move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_DataValidity`
[INFO] [stderr] 81 | pub enum DataValidity {
[INFO] [stderr]    |          ------------ `DataValidity` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/fields.rs:80:56
[INFO] [stderr]    |
[INFO] [stderr] 80 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stderr]    |                                                        ^----------
[INFO] [stderr]    |                                                        |
[INFO] [stderr]    |                                                        `ToPrimitive` is not local
[INFO] [stderr]    |                                                        move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_DataValidity`
[INFO] [stderr] 81 | pub enum DataValidity {
[INFO] [stderr]    |          ------------ `DataValidity` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/fields.rs:86:41
[INFO] [stderr]    |
[INFO] [stderr] 86 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stderr]    |                                         ^------------
[INFO] [stderr]    |                                         |
[INFO] [stderr]    |                                         `FromPrimitive` is not local
[INFO] [stderr]    |                                         move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_DataStatus`
[INFO] [stderr] 87 | pub enum DataStatus {
[INFO] [stderr]    |          ---------- `DataStatus` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/fields.rs:86:56
[INFO] [stderr]    |
[INFO] [stderr] 86 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stderr]    |                                                        ^----------
[INFO] [stderr]    |                                                        |
[INFO] [stderr]    |                                                        `ToPrimitive` is not local
[INFO] [stderr]    |                                                        move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_DataStatus`
[INFO] [stderr] 87 | pub enum DataStatus {
[INFO] [stderr]    |          ---------- `DataStatus` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/fields.rs:92:28
[INFO] [stderr]    |
[INFO] [stderr] 92 | #[derive(Debug, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stderr]    |                            ^------------
[INFO] [stderr]    |                            |
[INFO] [stderr]    |                            `FromPrimitive` is not local
[INFO] [stderr]    |                            move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_IntStatus`
[INFO] [stderr] 93 | pub enum IntStatus {
[INFO] [stderr]    |          --------- `IntStatus` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/fields.rs:92:43
[INFO] [stderr]    |
[INFO] [stderr] 92 | #[derive(Debug, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stderr]    |                                           ^----------
[INFO] [stderr]    |                                           |
[INFO] [stderr]    |                                           `ToPrimitive` is not local
[INFO] [stderr]    |                                           move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_IntStatus`
[INFO] [stderr] 93 | pub enum IntStatus {
[INFO] [stderr]    |          --------- `IntStatus` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/fields.rs:98:28
[INFO] [stderr]    |
[INFO] [stderr] 98 | #[derive(Debug, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stderr]    |                            ^------------
[INFO] [stderr]    |                            |
[INFO] [stderr]    |                            `FromPrimitive` is not local
[INFO] [stderr]    |                            move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ResetStatus`
[INFO] [stderr] 99 | pub enum ResetStatus {
[INFO] [stderr]    |          ----------- `ResetStatus` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/fields.rs:98:43
[INFO] [stderr]    |
[INFO] [stderr] 98 | #[derive(Debug, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stderr]    |                                           ^----------
[INFO] [stderr]    |                                           |
[INFO] [stderr]    |                                           `ToPrimitive` is not local
[INFO] [stderr]    |                                           move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ResetStatus`
[INFO] [stderr] 99 | pub enum ResetStatus {
[INFO] [stderr]    |          ----------- `ResetStatus` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `ltr303` (lib) generated 21 warnings (run `cargo fix --lib -p ltr303` to apply 1 suggestion)
[INFO] [stderr] warning: `ltr303` (lib test) generated 21 warnings (21 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ltr303-e765ce5a8972ac97)
[INFO] [stdout] 
[INFO] [stdout] running 9 tests
[INFO] [stdout] test tests::part_id ... ok
[INFO] [stdout] test tests::unit_tests::test_fields ... ok
[INFO] [stdout] test tests::unit_tests::test_registers ... ok
[INFO] [stdout] test tests::sensor_status ... ok
[INFO] [stdout] test tests::manufacturer_info ... ok
[INFO] [stdout] test tests::single_shot_measurement ... ok
[INFO] [stdout] test tests::unit_tests::calculate_lux_from_raw ... ok
[INFO] [stdout] test tests::unit_tests::test_register_from_u8 ... ok
[INFO] [stdout] test tests::start_measurement ... ok
[INFO] [stderr]    Doc-tests ltr303
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test src/lib.rs - (line 14) - compile ... ok
[INFO] [stdout] test src/lib.rs - (line 27) - compile ... ok
[INFO] [stdout] test src/lib.rs - (line 39) - compile ... ok
[INFO] [stdout] test src/registers.rs - registers::create_register (line 62) - compile fail ... ok
[INFO] [stdout] test src/macros.rs - macros::create_struct_with (line 6) - compile fail ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.34s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "a0ab60da692fb64b69a45904ae484b2997e8db0f6d3113adfc0e73f69e195214", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a0ab60da692fb64b69a45904ae484b2997e8db0f6d3113adfc0e73f69e195214", kill_on_drop: false }`
[INFO] [stdout] a0ab60da692fb64b69a45904ae484b2997e8db0f6d3113adfc0e73f69e195214
